package edu.sdjzu.exam.service.examSession;

import edu.sdjzu.exam.dto.cheat.EnvironmentLogDTO;
import edu.sdjzu.exam.dto.examSession.*;

import java.util.List;

public interface ExamSessionService {
    Long startExam(StartExamDTO startDTO);
    void saveDraft(SaveDraftDTO draftDTO);
    void submitExam(SubmitExamDTO submitDTO);
    ExamSessionDTO resumeExam(ResumeExamDTO resumeDTO);
    ExamSessionDTO getExamSession(Long sessionId);
    List<ExamSessionDTO> monitorExamSessions(Long examId);
    void logEnvironment(EnvironmentLogDTO envLogDTO);
    
    // 添加缺失的方法
    List<ExamSessionDTO> getStudentExamSessions(StudentExamRecordsDTO requestDTO);
    ExamSessionDTO getExamSessionByExamAndStudent(Long examId, Long studentId);
}
